package cn.yzfy.orm.mapper;

import cn.hutool.core.lang.tree.TreeNode;
import cn.yzfy.common.model.entity.ResourcesEntity;
import cn.yzfy.common.util.ITreeNode;
import cn.yzfy.orm.config.BaseMapperExtension;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ResourcesMapper extends BaseMapperExtension<ResourcesEntity> {
  List<TreeNode<Long>> selectList(QueryWrapper<Object> objectQueryWrapper,
                                  Class<ITreeNode> iTreeNodeClass);
}